#pragma once
#ifndef CAROUSEL_H
#define CAROUSEL_H

#include <tsg.h>
using namespace tsg;
using namespace controller;
using namespace gl;

class CCarousel: public Node
{
public:
	float m_size;
	Parameter<float> m_rotationAngle;
	Parameter<float> m_upAndDown1;
	Parameter<float> m_upAndDown2;
	Parameter<float> m_upAndDown3;
	Parameter<float> m_upAndDown4;
	Parameter<float> m_upAndDown5;
	Parameter<float> m_upAndDown6;
	Parameter<float> m_upAndDown7;
	Parameter<float> m_upAndDown8;

public:
	CCarousel(float size);
	~CCarousel(void);

private:
	void doRender(void);
	void drawBase(float size);
	void drawCube(float size);
};

#endif 
